package com.mfkj.update.ui

import com.blankj.utilcode.util.AppUtils
import com.mfkj.update.base.BaseActivity
import com.mfkj.update.databinding.ActUpdateBinding
import com.mfkj.update.updateApp
import me.reezy.cosmo.update.UpdateManager

/**
 * @author JamesGZM
 * @description: demo
 * @date :3/27/21 5:36 PM
 */
class UpdateActivity : BaseActivity<ActUpdateBinding>() {

    override fun onResume() {
        super.onResume()
        UpdateManager.setChecker(
            postData = mapOf(
                "_api_key" to "e6fd29bbe6184efd71b67c9fd6959582",
                "appKey" to "d83c6d75947143ce05badc76b161a8fb",
                "buildVersion" to AppUtils.getAppVersionName()
            )
        )
        UpdateManager.check(this)
    }


    override fun initView() {

    }


    override fun initData() {
    }
}